package edu.asu.sapa.ground.update;

import edu.asu.sapa.Planner;
import edu.asu.sapa.ground.State;

public class StartPointLoader extends Load {

	public StartPointLoader() {
		super();
	}
	public StartPointLoader(Update[] array) {
		super(array);
	}

	@Override
	public final boolean load(State s, Context c) {
		boolean possible = true;
		for (Update u : contents) {
			possible &= u.updateBefore(s, c, s.time);
		}
		return possible;
	}

	public String toString() {
		return "\t(at start " + super.toString();
	}
}
